﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WSPay.Common.Data;

namespace WSPay.Domain
{
    /// <summary>
    /// 客户端信息表，授权不同的客户端对接信息
    /// </summary>
    public class ClientInfo:IEntity
    {
        public ClientInfo()
        {
            CreateTime = DateTime.Now;
        }

        public ClientInfo(Guid guid,string name,string md5key)
        {
            Guid = guid;
            Name = name;
            MD5Key = md5key;
            CreateTime = DateTime.Now;
        }
        public int ID { get; set; }

        /// <summary>
        /// 客户唯一编号
        /// </summary>
        public Guid Guid { get; set; }

        /// <summary>
        /// 客户端名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// MD5签名的Key,16位随机字符串
        /// </summary>
        public string MD5Key { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

    }
}
